package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/7 .
 */

public class CreateOrderInfo {

    /**
     * message : 创建订单成功
     * status : 100
     * orderId : 920161207515346
     */

    private String message;
    private int status;
    private String orderId;

    public static CreateOrderInfo objectFromData(String str) {

        return new Gson().fromJson(str, CreateOrderInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}
